package com.jyw.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Created by ZhangCheng on 2024/01/10
 */
@ApiModel("批量新增科室IP实体")
@Data
public class SysDeptIpAddressBatchAddDto {

    @ApiModelProperty("科室部门ID")
    @NotNull(message = "科室部门ID不能为空")
    private Long deptId;

    @ApiModelProperty("多条IP")
    @Valid
    private List<SysDeptIpAddressSubAddDto> subList;
}
